
package com.zhuoshi.controller;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.zhuoshi.bean.OpeningPay;
import com.zhuoshi.bean.WdUser;
import com.zhuoshi.serviceImpl.OpeningPayServiceImpl;
import com.zhuoshi.serviceImpl.WdUserServiceImpl;

@Controller
public class WdUserController {

	@Autowired
	private WdUserServiceImpl wdUserServiceImpl;
	
	
	@RequestMapping("/getAlluser")
	public String Test(Model model,HttpServletRequest request)
	{
		
		List<WdUser> wduserlist = wdUserServiceImpl.findAll(); 
		model.addAttribute("wduserlist",wduserlist );
		request.setAttribute("wduserlist",wduserlist );
		//System.out.println(user.getUpdateTime());
		return "/Fukuan";  
	}
	
	
}
